import { Module } from '@nestjs/common';
import { ProfessionalService } from './professional.service';
import { ProfessionalController } from './professional.controller';
import { ProfessionalEntity } from './entities/professional.entity';
import { TypeOrmModule } from '@nestjs/typeorm';
import {ProfessionalSchoolEntity} from "./entities/professional-school.entity";
import {ProfessionalCourseEntity} from "./entities/professional-course.entity";
import {ProfessionalCourseController} from "./professional-course.controller";
import {ProfessionalSchoolService} from "./professional-school.service";
import {ProfessionalCourseService} from "./professional-course.service";
import {ProfessionalSchoolController} from "./professional-school.controller";
import {CourseEntity} from "../course/entities/course.entity";

@Module({
  imports: [TypeOrmModule.forFeature([
      ProfessionalEntity,ProfessionalSchoolEntity,ProfessionalCourseEntity,CourseEntity
  ])],
  controllers: [ProfessionalController,ProfessionalCourseController,ProfessionalSchoolController],
  providers: [ProfessionalService,ProfessionalSchoolService,ProfessionalCourseService],
})
export class ProfessionalModule {}


